package com.nfit.shopweb.properties;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * ClassName:MinioProperties
 * Package:com.nfit.shopweb.properties
 * Description
 *
 * @Author L
 * @Create 2024/11/17 0:17
 */
@Schema(name = "minio", description = "定义实体接收yml文件的自定义属性")
@Data
@ConfigurationProperties(prefix="shop.minio") //读取节点
public class MinioProperties {
    private String endpointUrl;
    private String accessKey;
    private String secretKey;
    private String bucketName;
}
